package com.zcf.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhaoQi
 * @since 2019-05-20
 */
public class Integral extends Model<Integral> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userid;
    private Integer upIntegral;
    private Integer downIntegral;
    @TableField("createTime")
    private Date createTime;
    @TableField("clubName")
    private String clubName;
    @TableField("clubid")
    private Integer clubid;
    @TableField("adjustid")
    private Integer adjustid;
    
    
    public Integer getAdjustid() {
		return adjustid;
	}

	public void setAdjustid(Integer adjustid) {
		this.adjustid = adjustid;
	}

	public Integer getClubid() {
		return clubid;
	}

	public void setClubid(Integer clubid) {
		this.clubid = clubid;
	}

	public String getClubName() {
		return clubName;
	}

	public void setClubName(String clubName) {
		this.clubName = clubName;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getUpIntegral() {
        return upIntegral;
    }

    public void setUpIntegral(Integer upIntegral) {
        this.upIntegral = upIntegral;
    }

    public Integer getDownIntegral() {
        return downIntegral;
    }

    public void setDownIntegral(Integer downIntegral) {
        this.downIntegral = downIntegral;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Integral{" +
        "id=" + id +
        ", userid=" + userid +
        ", upIntegral=" + upIntegral +
        ", downIntegral=" + downIntegral +
        ", createTime=" + createTime +
        "}";
    }
}
